package cn.edu.scau.cmi.suwenpeng.chapter10;

import java.io.*;

public class Exercise8 {

	public static void main(String[] args) {
		try {
			File file = new File("p.txt");
			FileOutputStream out = new FileOutputStream(file);
			PrintStream ps = new PrintStream(out);
			ps.print(12345.6789);
			ps.println("how are you");
			ps.println(true);
			ps.close();
		} catch (IOException e) {
		}

	}

}
